package com.dwsoft.pojo;

import com.dwsoft.mapper.IDataKpiMapper;
import com.dwsoft.utils.XStreamUtil;
import com.dwsoft.xml.XmlNode;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author sqw
 * @version 1.0
 * @description 持久层word模板实体
 * @ClassName WordTemplete
 * @Date 2020/8/4
 * @since jdk1.8
 */
@Data
public class WordTempleteDO {

    //主键ID
    private String id;
    //模板名称
    private String templeteName;
    //创建时间
    private Date createTime;
    //作者
    private String createAuthor;
    //备注
    private String createDesc;
    //模板格式描述
    private String templeteXml;

    public XmlNode getXmlNode(){
        return (XmlNode) XStreamUtil.xmlToBean(this.templeteXml);
    }

}
